<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		
		<style type="text/css">
			div{
				width: 300px;
				height: 100px;
				border: #000000 1px solid;
			}
			
			body{
				background-image: url(img/shopping.jpg);
				background-position: center;
				background-repeat: no-repeat;
				background-attachment: fixed;
			}
			p::after{
				content: "网页内容";
			}
		</style>
	</head>
	<body>
		
		
		<div style="background-color: #FF0000;"></div>
		<div style="background: url(img/logo.png) repeat fixed center;"></div>
		<div style="background: url(img/logo.png) ;background-size: cover;"></div><!-- 等比例放大 -->
		<div style="background: url(img/logo.png) ;background-size: 100% 100%;"></div><!-- 宽高放大直到铺满 -->
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	<p></p>
	</body>
</html>
